// 列表查询条件配置
export const formOption = {
    size: 'mini',
    inline: true,
    labelWidth: '160px',
    itemData: [
        {
            type: 'input',
            prop: 'prjName',
            value: '',
            colSpan: 6,
            clearable: true,
            label: '项目名称'
        },
        {
            type: 'input',
            prop: 'prjCode',
            value: '',
            colSpan: 6,
            clearable: true,
            label: '项目编码'
        },
        {
            type: 'datePicker',
            prop: 'prjYear',
            dateType: 'year',
            colSpan: 6,
            value: new Date().getFullYear().toString(),
            label: '项目年份',
            clearable: true,
            format: 'yyyy',
            valueFormat: 'yyyy'
        },
        {
            type: 'select',
            prop: 'constructUnit',
            clearable: true,
            colSpan: 6,
            value: '',
            label: '建设单位',
            dicType: 'BUILD_UNIT',
            dicProp: {
                label: 'orgName',
                value: 'orgId'
            }
        },
        {
            type: 'select',
            prop: 'businessType',
            value: '',
            colSpan: 6,
            label: '业务类型',
            dicType: 'IS_NEWBUSINESS',
            clearable: true,
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'select',
            prop: 'prjType',
            value: '',
            colSpan: 6,
            label: '项目类型',
            dicType: 'PROJ_TYPE',
            clearable: true,
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'select',
            prop: 'buildModes',
            value: '',
            colSpan: 6,
            label: '建设方式',
            dicType: 'BUILD_MODES',
            clearable: true,
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'input',
            prop: 'stationAddress',
            value: '',
            colSpan: 6,
            clearable: true,
            label: '站址名称'
        }
    ]
}

// 列表表头/自定义字段设置-固定字段
export const colOption = [
    { label: '项目编码', width: '160', prop: 'prjCode' },
    { label: '项目名称', width: '', prop: 'prjName' },
    { label: '项目年份', width: '100', prop: 'prjYear' },
    { label: '建设单位', width: '200', prop: 'orgName' },
    { label: '项目类型', width: '150', prop: 'prjType', dicType: 'PROJ_TYPE', dicProp: { label: 'dictName', value: 'dictId' }},
    { label: '建设方式', width: '100', prop: 'buildModes', dicType: 'BUILD_MODES', dicProp: { label: 'dictName', value: 'dictId' }},
    { label: '当前办理节点', width: '120', prop: 'nodeName' },
    { label: '当前办理人', width: '100', prop: 'presentDealer' }
]

// 自定义字段设置-自定义字段
export const customCheckOption = [
    {
        prop: 'isReceive',
        label: '方案造价岗'
    },
    {
        prop: 'prjManager',
        label: '项目管理岗'
    },
    {
        value: 'specialItem',
        label: '整治类型'
    },
    {
        prop: 'demandId',
        label: '需求单编号'
    },
    {
        prop: 'siteId',
        label: '站址编码'
    },
    {
        prop: 'siteName',
        label: '站址名称'
    },
    {
        prop: 'oneBusinessMode',
        label: '一级业务模式'
    },
    {
        prop: 'twoBusinessMode',
        label: '二级业务模式'
    },
    {
        prop: 'secondaryType',
        label: '信息化分类'
    }

]
